ListBox.ColumnAlignment Property
Syntax
ColumnAlignment as Integer
Parameter is columnNumber as Integer; the first column is numbered zero. Aligns the specified column.
You specify the alignment via ListBox class constants. They are:
AlignDefault (0): Default alignment
AlignLeft (1): Left
AlignCenter (2): Center
AlignRight (3): Right
AlignDecimal (4): Decimal
For example:
lbox1.ColumnAlignment(1)=ListBox.AlignRight
Decimal aligns the decimal separator to the right edge of the column. You need to use ColumnAlignmentOffset to move the data into the column.